body {
    min-width: 360px;
    max-width: 540px;
    background-color: #eee;
    margin: 0 auto;
}

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?khbe0d');
    src: url('../fonts/icomoon.eot?khbe0d#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?khbe0d') format('truetype'), url('../fonts/icomoon.woff?khbe0d') format('woff'), url('../fonts/icomoon.svg?khbe0d#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

div {
    box-sizing: border-box;
}

header {
    display: flex;
    height: 44px;
    width: 100%;
    /* background: -webkit-linear-gradient(left, rgb(75, 130, 250), rgb(138, 175, 235)); */
}

.search {
    position: relative;
    flex: 1;
    background-color: white;
    border-radius: 20px;
    line-height: 44px;
    padding-left: 20px;
}

.search::after {
    position: absolute;
    top: 3px;
    right: 3px;
    content: "搜索";
    text-align: center;
    line-height: 38px;
    width: 80px;
    height: 38px;
    background-color: skyblue;
    border-radius: 15px;
}

.user {
    width: 44px;
    height: 44px;
    text-align: center;
    /* background-color: azure; */
    font-size: 14px;
    color: rgb(0, 166, 231);
}

.user::before {
    display: block;
    font-family: 'icomoon';
    content: "";
    font-size: 25px;
    color: rgb(0, 166, 231);
}

.nav-top {
    display: flex;
    background: white;
    flex-wrap: nowrap;
    width: 100%;
    margin: 5px 2px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

ul {
    list-style: none;
}

.nav-top li {
    display: flex;
    flex-direction: column;
    flex: 1;
    list-style: none;
    margin-right: 2px;
    text-align: center;
}

.nav-top li:last-child {
    margin-right: 0;
}

.nav-top li div {
    flex: 1;
    margin-bottom: 2px;
}

.nav-top li div:last-child {
    margin-bottom: 0;
}

.item1 {
    background-color: rgb(23, 178, 240);
    color: tomato;
}

.item1::before {
    display: block;
    text-align: center;
    font-family: 'icomoon';
    content: "";
    font-size: 50px;
    margin-top: 10px;
}

.item2 {
    background-color: rgba(23, 178, 240, .8);
    color: tomato;
}

.item2::before {
    display: block;
    text-align: center;
    font-family: 'icomoon';
    content: "";
    font-size: 50px;
    margin-top: 10px;
}

.item3 {
    background-color: rgba(23, 178, 240, .5);
    color: tomato;
}

.item3::before {
    display: block;
    text-align: center;
    font-family: 'icomoon';
    content: "";
    font-size: 50px;
    margin-top: 10px;
}